package com.example.service2;

import com.cloud.logger.zchain.annotation.ZchainScheduled;
import com.cloud.logger.zchain.core.common.base.ResultMessage;
import com.cloud.logger.zchain.zchainclient.http.RestClientTemplate;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Administrator on 2017/12/15.
 */
@Component
public class Tester {

    @ZchainScheduled(cron="*/10 * * * * ?")
    public void checkProject()
    {
        System.out.println("aaaaa");
    }
}